const BM_admin = '/bimai-out-admin/out-admin/'
const serviceApi = {
    login: BM_admin + 'admin/login',
    loginOut: BM_admin + 'admin/loginOut',
    // 系统
    upload: BM_admin + 'general/file/nomal/upload', // 上传
    download: BM_admin + 'general/file/nomal/download', // 下载

    router_list: BM_admin + 'authority/route/list',// 菜单路由
    router_crud: BM_admin + 'authority/route',// 增删改查 同一个

    role_url_list: BM_admin + 'authority/url/list', // 权限路由
    // 字典
    dict_list: BM_admin + 'general/dict/dictType/page',
    dict_add: BM_admin + 'general/dict/dictType', // 增删改查 同一个

    dict_children_list: BM_admin + 'general/dict/dictData/page',
    add_dict_children: BM_admin + 'general/dict/dictData',// 增删改查 同一个
    // 角色
    role_list: BM_admin + 'authority/role/page',
    role_crud: BM_admin + 'authority/role', // 增删改查 同一个
    role_disable: BM_admin + 'authority/role/disable', // 停用
    role_enable: BM_admin + 'authority/role/enable', // 启用
    // 账号
    user_list: BM_admin + 'user/page',
    user_crud: BM_admin + 'user',
    user_disable: BM_admin + 'user/disable',
    user_enable: BM_admin + 'user/enable',
    editPwd: BM_admin + 'user/updatePassword', // 改密码
    // 特殊日期
    specialDay_list: BM_admin + 'general/specialDay/page',
    specialDay_crud: BM_admin + 'general/specialDay',
    // 系统日志
    log_list: '/bimai-out-admin/out-api/general/log/loginLogPage', // 登录
    log_crud: '/bimai-out-admin/out-api/general/log/loginLog',
    operate_list: '/bimai-out-admin/out-api/general/log/operateLogPage', // 操作
    operate_crud: '/bimai-out-admin/out-api/general/log/operateLog',
    // 运营

    //成功案例 
    suuc_case_list: BM_admin + 'enterprise/example/list',
    suuc_case_crud: BM_admin + 'enterprise/example',

    // 战略合作企业
    contract_list: BM_admin + 'enterprise/contract/page',
    contract_crud: BM_admin + 'enterprise/contract',
    contract_pass: BM_admin + 'enterprise/contract/verify',
    contract_upload: BM_admin + 'enterprise/contract/upload',
    contract_download: BM_admin + 'enterprise/contract/download',

    // 系统通知
    notice_list: BM_admin + 'general/notice/page',
    notice_crud: BM_admin + 'general/notice',
    notice_status: BM_admin + 'general/notice/changeStatus',

    // 暂停合同
    contract_savePauseTime: BM_admin + 'enterprise/contract/savePauseTime',
    // 更新暂停合同
    contract_updatePauseTime: BM_admin + 'enterprise/contract/updatePauseTime',
    // 取消暂停合同 （当前时间小于暂停开始时间）
    contract_cancelPause: BM_admin + 'enterprise/contract/cancelPause',
    // 重启暂停合同
    contract_change: BM_admin + 'enterprise/contract/changeStatus',

    // 服务项目
    project_list: BM_admin + 'price/item/list',
    // 铝模 服务价格设置
    servicePrice_list: BM_admin + 'price/servicePrice/page',
    servicePrice_crud: BM_admin + 'price/servicePrice',
    servicePrice_pass: BM_admin + 'price/servicePrice/pass',
    // 深化插件 服务价格设置
    deepPluginPrice_list: BM_admin + 'plugPrice/list',
    deepPluginPrice_curd: BM_admin + 'plugPrice',
    deepPluginPrice_pass: BM_admin + 'plugPrice/update/status',
    //升级套餐
    upgradePackage_list: BM_admin + 'price/upgradePackage/page',
    upgradePackage_curd: BM_admin + 'price/upgradePackage',
    upgradePackage_pass: BM_admin + 'price/upgradePackage/pass',
    // 企业级别
    enterprise_level_list: BM_admin + 'enterprise/enterprise/level/list',
    enterprise_level_crud: BM_admin + 'enterprise/enterprise/level',
    // 存储空间
    space_list: BM_admin + 'account/spaceConfig/list',
    space_crud: BM_admin + 'account/spaceConfig',
    // 特殊企业存储空间
    enterpriseSpace_list: BM_admin + 'account/spaceConfig/special/page',
    enterpriseSpace_crud: BM_admin + 'account/spaceConfig/special',
    //充值套餐
    rechargePackage_list: BM_admin + 'price/rechargePackage/page',
    rechargePackage_curd: BM_admin + 'price/rechargePackage',
    rechargePackage_pass: BM_admin + 'price/rechargePackage/pass',
    // 企业信息
    enterprise_list: BM_admin + 'enterprise/enterprise/page',
    enterprise_crud: BM_admin + 'enterprise/enterprise',
    all_enterprise_list: BM_admin + 'enterprise/enterprise/list',

    //企业指定权限
    enterprise_role_list: BM_admin + 'authority/route/enterpriseRouteList',
    enterprise_role: BM_admin + 'enterprise/enterprise/saveEnterpriseRoute',
    // 下载营业执照
    enterprise_downloadLicense: BM_admin + 'enterprise/enterprise/downloadLicense',
    // 下载水单
    enterprise_downloadSlip: BM_admin + 'enterprise/enterprise/downloadSlip',

    // 平台用户列表 (企业维度)
    platform_member_list: BM_admin + 'member/member/page',
    // 平台用户密码 初始化
    reset_pwd: BM_admin + 'member/member/initPwd',
    // 根据 企业/组织 查询用户列表
    member_list: BM_admin + 'member/member/list',
    // 财务
    // 充值信息列表
    rechargeOrder_list: BM_admin + 'account/rechargeOrder/rechargeConfirm',
    rechargeOrder_curd: BM_admin + 'account/rechargeOrder/rechargeOrder',
    rechargeOrder_pass: BM_admin + 'account/rechargeOrder/confirmRecharge',
    rechangeOrder_reject: BM_admin + 'account/rechargeOrder/rejectRecharge',

    // 升级信息收款列表
    upgradeOrder_list: BM_admin + 'account/rechargeOrder/upgradeOrderPage',
    upgradeOrder_crud: BM_admin + 'account/rechargeOrder/upgradeOrder',
    upgradeOrder_pass: BM_admin + 'account/rechargeOrder/confirmUpgradeOrder',
    upgradeOrder_reject: BM_admin + 'account/rechargeOrder/rejectUpgrade',
    // 收款信息
    rechange_collectionDetail_list: BM_admin + 'account/rechargeOrder/rechargeDetails',
    upgrade_collectionDetail_list: BM_admin + 'account/rechargeOrder/upgradeDetails',
    // 企业对账
    enterprise_reconciliation: BM_admin + 'account/rechargeOrder/enterpriseReconciliation',
    enterprise_rechargeDetails: BM_admin + 'account/rechargeOrder/enterpriseRechargeDetails',
    // 模板
    // 元数据 
    metadata_list: BM_admin + 'enterprise/metadata/page',
    metadata_crud: BM_admin + 'enterprise/metadata',
    metedata_change_status: BM_admin + 'enterprise/metadata/changeStatus',
    // tab 表单
    mould_tabs_list: BM_admin + 'enterprise/form/page',
    mould_tabs_crud: BM_admin + 'enterprise/form',
    // 模板类型
    mould_list: BM_admin + 'enterprise/template/page',
    mould_crud: BM_admin + 'enterprise/template',
    mould_disable: BM_admin + 'enterprise/template/disable/status',
    mould_enable: BM_admin + 'enterprise/template/enable/status',
    // 讲tab与元数据配置到模板中
    mould_template_editData: BM_admin + 'enterprise/template/editData',
    mould_template_getData: BM_admin + 'enterprise/template/getData',

    // 模板库 编辑数据保存
    mould_template_saveData: BM_admin + 'enterprise/collocation/edit',
    mould_template_getInfo: BM_admin + 'enterprise/collocation/getInfo',
    // 复制 模板库
    mould_template_copy: BM_admin + 'enterprise/collocation/copyTemplateCollocation',
    // 复制 编号规则
    number_template_copy: BM_admin + 'enterprise/identifier/copyIdentifier',

    // 命名规则 规则列表
    rule_list: BM_admin + 'enterprise/identifier/page',
    rule_crud: BM_admin + 'enterprise/identifier',
    // 命名规则 编号列表
    number_list: BM_admin + 'enterprise/identifierCode/page',
    number_crud: BM_admin + 'enterprise/identifierCode',
    copy_number: BM_admin + 'enterprise/identifierCode/copyCode',
    change_sort: BM_admin + 'enterprise/identifierCode/updateSortBatch',
    // 命名规则 条件列表
    require_list: BM_admin + 'enterprise/identifierRule/page',
    require_crud: BM_admin + 'enterprise/identifierRule',

    //客服
    // 课程资料
    study_list: BM_admin + 'member/course/list',
    study_crud: BM_admin + 'member/course',
    // 帮助中心
    help_list: BM_admin + 'member/helpfile/list',
    help_crud: BM_admin + 'member/helpfile',
    // 常见问题
    problem_list: BM_admin + 'member/commonProblem/list',
    problem_crud: BM_admin + 'member/commonProblem',

    // 数字孪生
    // 项目
    szls_project_list: BM_admin + 'szls/project/page',
    szls_project_crud: BM_admin + 'szls/project',
    szls_project_restore: BM_admin + 'szls/project/restoreProject',
    // 工程
    szls_engineering_list: BM_admin + 'szls/engineering/page',
    szls_engineering_crud: BM_admin + 'szls/engineering',
    szls_engineering_restore: BM_admin + 'szls/engineering/restoreEngineering', // 还原
    szls_engineer_publish: BM_admin + 'szls/engineering/publish', // 发布
    szls_engineer_cancel: BM_admin + 'szls/engineering/cancel', // 取消发布
    szls_engineer_refresh: BM_admin + 'szls/engineering/refresh', // 取消发布
    // 视图
    szls_view_list: BM_admin + 'szls/engineeringView/page',
    szls_device_view_list: BM_admin + 'szls/device/viewPage',
    szls_view_crud: BM_admin + 'szls/engineeringView',
    // 工程视图 可选元数据
    szls_engineeringMetadata_view_list: BM_admin + 'szls/engineeringMetadata/viewList',
    // 设备
    szls_device_list: BM_admin + 'szls/device/page',
    szls_device_crud: BM_admin + 'szls/device',
    szls_device_restore: BM_admin + 'szls/device/restoreDevice',
    szls_device_metadata_list: BM_admin + 'szls/szlsDeviceMetadata/list',
    szls_device_metadata_crud: BM_admin + 'szls/szlsDeviceMetadata',
    // 工序
    szls_process_list: BM_admin + 'szls/process/page',
    szls_process_crud: BM_admin + 'szls/process',
    szls_process_restore: BM_admin + 'szls/process/restoreProcess',
    // 元数据
    metadata_importExcel: BM_admin + 'szls/engineeringMetadata/importExcel',
    szls_engineeringMetadata_list: BM_admin + 'szls/engineeringMetadata/page',
    szls_engineeringMetadata_crud: BM_admin + 'szls/engineeringMetadata',
    szls_engineeringMetadata_restore: BM_admin + 'szls/engineeringMetadata/restoreEngineeringMetadata',
    szls_engineeringMetadata_baseList: BM_admin + 'szls/engineeringMetadata/list', // 基础元数据列表

    //型材管理
    // 元数据
    profileMetadata: BM_admin + 'enterprise/productMetadata',

    // 深化插件
    // 版本管理
    deepPlugin_version_list: BM_admin + 'plug/version/page',
    deepPlugin_version_crud: BM_admin + 'plug/version',
    deepPlugin_version_upload: BM_admin + 'plug/version/upload',

    // 平台协议
    // 协议类型
    agreement_type_list: BM_admin + 'general/agreement/type/list',
    agreement_type_crud: BM_admin + 'general/agreement/type',
    agreement_crud: BM_admin + 'general/agreement',

    // 表单
    // 列表
    form_list: BM_admin + 'form/formCustom/list',
    form_curd: BM_admin + 'form/formCustom',

    // 配置
    form_configForm: BM_admin + 'form/formCustom/configForm',
    form_configForm_info: BM_admin + 'form/formCustom/getFormConfig',
    // 流程模板
    flow_list: BM_admin + 'activiti/procBasic/list',
    flow_crud: BM_admin + 'activiti/procBasic',
    flow_import_file: BM_admin + 'activiti/procBasic/importBPMN',
    flow_updateState: BM_admin + 'activiti/procBasic/updateState',
    flow_getUserTaskNode: BM_admin + 'activiti/procBasic/getUserTaskNode',
    // 业务流程
    flow_business: BM_admin + 'activiti/procBusiness',
    // 流程管理
    // 待办
    flow_todoList: BM_admin + 'activiti/flowTask/todoPage',
    // 详情
    flow_info: BM_admin + 'activiti/flowTask/processVariables',
    // 审核
    flow_todoComplete: BM_admin + 'activiti/flowTask/complete',
    // 已办
    flow_finishedPage: BM_admin + 'activiti/flowTask/finishedPage',
    // 我发起的
    flow_myProcessPage: BM_admin + 'activiti/flowTask/myProcessPage',
    // 所有流程
    flow_allPage: BM_admin + 'activiti/flowTask/allPage',

}
export default serviceApi